package com.open.capacity.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: y_022
 * @date: 9:30-2021/6/25
 * @description:用户订单实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderModel {
    private Long ordeid;
    private String orcode;//订单号
    private Integer enable;//订单状态，0未支付，1已支付，2无效订单
    private Long statid;//工位产品id
    private Long userid;//用户id，本订单下单的用户
    private Long bussid;//拥有此工位的商家id
    private Date crdate;//订单创建时间
    private Date update;//订单最新修改时间
    private String remark;//订单备注
    private Float prices;//订单总价：单价*letime*reduce
    private Integer letime;//租赁时长
    private Float unitpr;//	工位单价
    private Float reduce;//活动折扣

}
